package com.ykh.pojo.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: YKH
 * Date: 2023-06-08
 * Time: 13:54
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Message {
    @TableId(type = IdType.AUTO)
    private Long id;
    // 文章id
    private Integer videoId;
    //发消息的用户id
    private String launchUserId;
    //消息创建时间
    private LocalDateTime createDate;
    //接受消息的用户id
    private String acceptUserId;
    //是否已读
    private Integer isRead;
    //消息类型
    private Integer type;
    //消息内容
    private String content;
}
